<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>问卷调查详情 - 问卷调查系统</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css" rel="stylesheet">
    <style>
        /* 自定义滚动条样式 */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- 导航栏 -->
    <nav class="bg-white border-b">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16 items-center">
                <div class="flex items-center">
                    <a href="result.html" class="flex items-center">
                        <i class="ri-arrow-left-line text-2xl text-gray-600 mr-2"></i>
                        <span class="text-xl font-semibold text-gray-800">问卷调查详情</span>
                    </a>
                </div>
                <div class="flex items-center space-x-4">
                    <button class="p-2 rounded-lg hover:bg-gray-100">
                        <i class="ri-download-line text-xl text-gray-600"></i>
                    </button>
                    <button class="p-2 rounded-lg hover:bg-gray-100">
                        <i class="ri-share-line text-xl text-gray-600"></i>
                    </button>
                </div>
            </div>
        </div>
    </nav>

    <!-- 主要内容区 -->
    <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
        <!-- 基本信息卡片 -->
        <div class="bg-white rounded-xl shadow-lg p-6 mb-8">
            <div class="flex items-center justify-between">
                <div class="flex items-center space-x-4">
                    <div class="w-12 h-12 rounded-full bg-indigo-100 flex items-center justify-center">
                        <i class="ri-user-line text-xl text-indigo-600"></i>
                    </div>
                    <div>
                        <h2 class="text-xl font-semibold text-gray-800">张三</h2>
                        <p class="text-sm text-gray-600">完成时间：2024-03-13 14:30</p>
                    </div>
                </div>
                <div class="flex items-center space-x-6">
                    <div class="text-center">
                        <p class="text-sm text-gray-600">问卷名称</p>
                        <p class="text-lg font-semibold text-indigo-600">问卷调查1</p>
                    </div>
                    <div class="text-center">
                        <p class="text-sm text-gray-600">得分</p>
                        <p class="text-lg font-semibold text-indigo-600">92</p>
                    </div>
                </div>
            </div>
        </div>

        <!-- 答题内容和AI分析 -->
        <div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
            <!-- 答题内容 -->
            <div class="bg-white rounded-xl shadow-lg overflow-hidden">
                <div class="p-6 border-b border-gray-100">
                    <h3 class="text-lg font-semibold text-gray-800">答题内容</h3>
                </div>
                <div class="p-6 space-y-6">
                    <!-- 问题1 -->
                    <div class="space-y-2">
                        <p class="font-medium text-gray-800">1. 您的年龄范围是？</p>
                        <div class="pl-4">
                            <div class="flex items-center space-x-2">
                                <i class="ri-checkbox-circle-fill text-green-500"></i>
                                <span class="text-gray-700">25-35岁</span>
                            </div>
                        </div>
                    </div>
                    <!-- 问题2 -->
                    <div class="space-y-2">
                        <p class="font-medium text-gray-800">2. 您的工作年限是？</p>
                        <div class="pl-4">
                            <div class="flex items-center space-x-2">
                                <i class="ri-checkbox-circle-fill text-green-500"></i>
                                <span class="text-gray-700">3-5年</span>
                            </div>
                        </div>
                    </div>
                    <!-- 问题3 -->
                    <div class="space-y-2">
                        <p class="font-medium text-gray-800">3. 您的工作压力程度是？</p>
                        <div class="pl-4">
                            <div class="flex items-center space-x-2">
                                <i class="ri-checkbox-circle-fill text-green-500"></i>
                                <span class="text-gray-700">中等</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- AI分析结果 -->
            <div class="bg-white rounded-xl shadow-lg overflow-hidden">
                <div class="p-6 border-b border-gray-100">
                    <h3 class="text-lg font-semibold text-gray-800">AI分析结果</h3>
                </div>
                <div class="p-6 space-y-6">
                    <!-- 总体评价 -->
                    <div class="space-y-2">
                        <p class="font-medium text-gray-800">总体评价</p>
                        <div class="bg-green-50 p-4 rounded-lg">
                            <p class="text-gray-700">根据答题情况分析，该用户表现出积极的工作态度和良好的职业规划意识。在压力管理方面表现中等，建议关注工作与生活的平衡。</p>
                        </div>
                    </div>
                    <!-- 详细分析 -->
                    <div class="space-y-2">
                        <p class="font-medium text-gray-800">详细分析</p>
                        <div class="space-y-4">
                            <div class="bg-blue-50 p-4 rounded-lg">
                                <p class="text-gray-700">1. 职业发展阶段：处于职业上升期，具有3-5年工作经验，年龄在25-35岁之间，正处于职业发展的黄金期。</p>
                            </div>
                            <div class="bg-blue-50 p-4 rounded-lg">
                                <p class="text-gray-700">2. 压力管理：工作压力处于中等水平，建议适当关注心理健康，保持工作与生活的平衡。</p>
                            </div>
                            <div class="bg-blue-50 p-4 rounded-lg">
                                <p class="text-gray-700">3. 发展建议：可以考虑参加一些职业培训或技能提升课程，为未来的职业发展做准备。</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        // 检查登录状态
        document.addEventListener('DOMContentLoaded', function() {
            // 这里可以添加登录状态检查逻辑
            // 如果未登录，重定向到登录页面
            // window.location.href = 'Login.html';
        });
    </script>
</body>
</html> 